﻿Namespace Email.Dominio

    ''' <summary>
    ''' Classe de envio de e-mail
    ''' </summary>
    ''' <remarks></remarks>
    Public Class EmailEnvioConta

        Private _Id As Nullable(Of Long)

        ''' <summary>
        ''' Identificador do e-mail
        ''' </summary>
        ''' <value>Long</value>
        ''' <returns>Long</returns>
        ''' <remarks></remarks>
        Public Overridable Property Id() As Nullable(Of Long)
            Get
                Return _Id
            End Get
            Set(ByVal value As Nullable(Of Long))
                _Id = value
            End Set
        End Property

        Private _NomeRemetente As String

        ''' <summary>
        ''' Nome do Remetente do e-mail
        ''' </summary>
        ''' <value>String</value>
        ''' <returns>String</returns>
        ''' <remarks></remarks>
        Public Overridable Property NomeRemetente() As String
            Get
                Return _NomeRemetente
            End Get
            Set(ByVal value As String)
                _NomeRemetente = value
            End Set
        End Property

        Private _EmailRemetente As String

        ''' <summary>
        ''' E-mail do remetente
        ''' </summary>
        ''' <value>String</value>
        ''' <returns>String</returns>
        ''' <remarks></remarks>
        Public Overridable Property EmailRemetente() As String
            Get
                Return _EmailRemetente
            End Get
            Set(ByVal value As String)
                _EmailRemetente = value
            End Set
        End Property

        Private _SenhaRemetente As String

        ''' <summary>
        ''' Senha do remetente
        ''' </summary>
        ''' <value>String</value>
        ''' <returns>String</returns>
        ''' <remarks></remarks>
        Public Overridable Property SenhaRemetente() As String
            Get
                Return _SenhaRemetente
            End Get
            Set(ByVal value As String)
                _SenhaRemetente = value
            End Set
        End Property

        Private _CC As String

        ''' <summary>
        ''' Envio de cópia do e-mail visível a todos
        ''' </summary>
        ''' <value>String</value>
        ''' <returns>String</returns>
        ''' <remarks></remarks>
        Public Overridable Property CC() As String
            Get
                Return _CC
            End Get
            Set(ByVal value As String)
                _CC = value
            End Set
        End Property

        Private _BCC As String

        ''' <summary>
        ''' Envio de cópia do e-mail não visível a todos
        ''' </summary>
        ''' <value>String</value>
        ''' <returns>String</returns>
        ''' <remarks></remarks>
        Public Overridable Property BCC() As String
            Get
                Return _BCC
            End Get
            Set(ByVal value As String)
                _BCC = value
            End Set
        End Property

        Private _ReplyTo As String

        ''' <summary>
        ''' Resposta automática de e-mail
        ''' </summary>
        ''' <value>String</value>
        ''' <returns>String</returns>
        ''' <remarks></remarks>
        Public Overridable Property ReplyTo() As String
            Get
                Return _ReplyTo
            End Get
            Set(ByVal value As String)
                _ReplyTo = value
            End Set
        End Property

    End Class
End Namespace
